"""
@filename: likeapi.py
@project: flask_project
@author: wlf
@time: 2022-09-10
"""
from flask_restful import Resource, Api
from flask import Blueprint, request, session
from model import db
from libs.response import generate_response
from model.like import Like


like_bp = Blueprint("likeapi", __name__, url_prefix="/v1")
api = Api(like_bp)


class LikeView(Resource):
    def post(self):
        pass

    def get(self):
        pass

    def delete(self):
        pass

    def update(self):
        pass


api.add_resource(LikeView, "/like")
api.add_resource(LikeView, "/like/<int:id>", endpoint="likeviewapi")